/**************************************************************************
 * @doc CORE
 * @module FUNCIDS.H|
 * All the Flexi record function IDs for the base modules.
 *
 * Product     :   SoftPay 2000 (Global Payment Methodology).
 * <nl>Developer   :
 * <nl>Notes       :
 *
 * @head3 Core Functions |
 * @index | Core
 * @end
 *
 * Copyright (c) 1996-2000 by VeriFone Inc. All rights reserved.
 *
 * No part of this software may be used, stored, compiled, reproduced,
 * modified, transcribed, translated, transmitted, or transferred, in any form
 * or by any means whether electronic, mechanical, magnetic, optical,
 * or otherwise, without the express prior written permission of VeriFone, Inc.
 *
 * Revision History
 * ------------------------------------------------------------------------
 $Log: /SoftPay/SPK2SIM/Source/Include/funcids.h $
 *
 ********************************************************************************/
/* Transaction Flow Items                    Functions                  */
#define GET_CLERK_ID                0x0001  /* inGetClerkId             */
#define GET_INSTALLMENTS            0x0002  /* inGetInstallments        */
#define GET_BASE_AMOUNT             0x0003  /* inGetBaseAmount          */
#define GET_CASH_BACK               0x0004  /* inGetCashBack            */
#define COMPUTE_DISPLAY_TOTAL       0x0005  /* inComputeAndDispTotal    */
#define GET_ECR_INVOICE             0x0006  /* inGetECRInvoiceNum       */
#define GET_AUTH_CODE               0x0007  /* inGetAuthCode            */
#define USER_CHOICE                 0x0008  /* inUserChoice             */
#define GET_PLANS                   0x0009  /* inGetPlans               */
#define GET_LAST_FOUR_ACCT          0x000A  /* inGetLastFourAcct        */
#define GET_INV_BATCH_REC           0x000B  /* inGetInvBatchRec         */
#define VALIDATE_VOID               0x000C  /* inValidateVoid           */
#define VALIDATE_ADJUST             0x000D  /* inValidateAdjust         */
#define DISPLAY_RESPONSE			0x000E  /* inDisplayResponse		*/
#define CONFIRM_INV_AMT             0x000F  /* inConfirmInvAmt          */
#define GET_ADJUST_AMOUNT           0x0010  /* inGetAdjustAmount        */
#define VOID_BATCH_REC              0x0011  /* inVoidBatchRec           */
#define ADJUST_BATCH_REC            0x0012  /* inAdjustBatchRec         */
#define GET_CONFIRMATION            0x0013  /* inGetConfirmation        */
#define VALIDATE_CARD_ENTRY         0x0014  /* inValidateCardEntryMethod*/
#define BUILD_AND_SEND_PACKET       0x0015  /* inBuildAndSendPacket     */
#define UPDATE_BATCH                0x0016  /* inUpdateBatchFlow        */
#define PRINT_RECEIPT               0x0017  /* inFlowPrintReceipt       */
#define FRAUD_CONTROL               0x0018  /* inFraudControl           */
#define AVS                         0x0019  /* inAVS                    */
#define FPS_RESP_MESSAGE			0x001A  /* inFPSRespMessage 		*/
#define DEBIT_PREDIAL               0x001B  /* inDebitPredial           */
#define CONFIRM_SAME_CARD           0x001C  /* inSameCardConfirm        */
#define GET_ROOM_NUMBER             0x001E  /* inGetRoomNumber          */
#define GET_INV_NUM                 0x001F  /* inGetInvNum              */
#define UPDATE_TERM_INV_AND_HOST_INV 0x0020 /* inUpdateTermInvAndHostInv*/
#define DELETE_OPEN_TAB             0x0021  /* inDeleteOpenTab          */
#define CHK_MUST_SETTLE_FLAG        0x0022  /* inChkMustSettleFlag      */
#define GET_CLOSE_TAB_AMOUNT        0x0023  /* inGetCloseTabAmount      */
#define VALIDATE_TIP_ADJUST         0x0024  /* inValidateTipAdjust      */
#define GET_ORIG_TRANS_DATE         0x0025  /* inGetOrigTransDate       */
#define GET_CUST_NUMBER             0x0026  /* inGetCustNumber          */
#define VALIDATE_DOCK_STATUS		0x0027	/* inValidateDockStatus		*/
#define ENTER_BIRTHDATE             0x0028  /* inEnterBirthdate         */
#define ENTER_STATE_CODE            0x0029  /* inEnterStateCode         */
#define ENTER_ZIP_CODE              0x002A  /* inEnterZipCode           */
#define ENTER_CHECK_NUMBER          0x002B  /* inEnterCheckNumber       */
#define ENTER_CHECK_ACCT_NUM        0x002C  /* inEnterCheckAcctNum      */
#define ENTER_MANUAL_DLN            0x002D  /* inEnterManualDLN         */
#define ENTER_MANUAL_MICR           0x002E  /* inEnterManualMICR        */
#define SWIPE_DLN                   0x002F  /* inSwipeDLN               */
#define SWIPE_MICR                  0x0030  /* inSwipeMICR              */
#define EITHER_DLN                  0x0031  /* inEitherDLN              */
#define EITHER_MICR                 0x0032  /* inEitherMICR             */
#define CREDIT_PREDIAL              0x0033  /* inCreditPredial          */
#define PREPRINT                    0x0034  /* inPreprint               */
#define CHECK_TRANSACTION_FLOW      0x0035  /* inCheckTransactionFlow   */
#define DUPLICATE_CHECK             0x0036  /* inDupCheck               */
#define SCROLL_OFF             		0x0037  /* inScrollOff          	*/
#define SCROLL_ON              		0x0038  /* inScrollOn           	*/
#define GET_RECEIPT_TEMPLATE        0x0039  /* inGetReceiptTemplate     */
#define BATCH_REVIEW_TIP_ADJUST     0x003A  /* inBatchReviewTipAdjust   */
#define FAST_PAY                    0x003B  /* inFastPayFlow            			*/
#define SCROLL_NEXTLINE				0x003C	/* inScrollNextLineOn					*/
#define GET_TAX                     0x003D  /* inGetTax                             */
#define GET_TIP                     0x003E  /* inGetTip                             */
#define GET_PIN_ACC_MAC             0x003F  /* inGetPinAccMac                       */
#define GET_PIN_ACC_MAC_PP501       0x0040  /* inGetPinAccMac_PP501                 */
#define GET_ICPA_SERIAL_NUM         0x0041  /* inGetICPASerNum                      */
#define PP_LOAD_WORKING_KEYS        0x0042  /* inPPLoadWorkingKeys                  */
#define COUNTER_PAY_TIP          	0x0043  /* inGetCounterPayTip       			*/
#define GET_WEB_MENU             	0x0044  /* inGetWebMenu             			*/

#define GET_CVV2                    0x0046  /* inGetCVV2 							*/
#define FC_CONFIRM_LAST4            0x0047  /* inFC_ConfirmLast4                    */
#define FC_CONFIRM_DISPLAY          0x0048  /* inFC_ConfirmDisplay                  */
#define FC_CONFIRM_BOTH             0x0049  /* inFC_ConfirmBoth                     */
#define UPDATE_ACCUM                0x004A  /* inUpdateAccumFlow                    */
#define UPDATE_CLERK                0x004B  /* inUpdateClerkFlow                    */
#define DUAL_CURRENCY               0x004C	/* inDualCurrency         		        */
#define AXPIP_UPDATE_BATCH			0x004D	/* inFormAXPIPBatch						*/
#define AXPIP_VALIDATE_BATCHNUM		0x004E	/* inValidateAXPIPBatchNum				*/
#define UPDATE_COUNTER				0x004F	/* inUpdateCounterFlow   				*/
#define UPDATE_ENTRY_COUNTER		0x0050  /* inUpdateEntryCounter */
#define EMV_REMOVE_CARD             0x0051  /* Transaction flow function ID - inEMVRemoveCard */
#define EMV_PR_AND_TRM              0x0052  /* Transaction flow function ID - inEMVPRandTRM */
#define EMV_CARDHOLDER_VERIF        0x0053  /* Transaction flow function ID - inEMVCardholderVerification */
#define EMV_FIRST_GEN_AC            0x0054  /* Transaction flow function ID - inEMVFirstGenerateAC */
#define EMV_USE_HOST_DATA           0x0055  /* Transaction flow function ID - inEMVUseHostDataFlow */
#define EMV_GET_CARD_CONFIG         0x0056  /* Transaction flow function ID - inEMVGetCardConfig */
#define EMV_DATA_AUTH               0x0057  /* Transaction flow function ID - inEMVDataAuthentication */
#define EMV_CHECK_FALLBACK          0x0058  /* Transaction flow function ID - inEMVCheckFallback */
#define EMV_ADD_TO_POOL     	    0x0059	/* inEMVAddAmountToPool 			    */
#define EMV_EUROPAY_TESTS     	    0x005A	/* Transaction flow function ID - inEMVEuropaySpecificTests */
#define EMV_SET_OFFLINE     	    0x005B	/* Transaction flow function ID - inEMVSetOffline */
#define EMV_GET_BASE_AMOUNT    	    0x005C	/* Transaction flow function ID - inEMVGetBaseAmount */
#define EMV_SPLIT_SALES	    	    0x005D	/* Transaction flow function ID - inEMVHandleSplitSales */
#define EMV_BATCH		    	    0x005E	/* Transaction flow function ID - inEMVPrepareBatch */
#define FLEET_DRIVER_ID			    0x005F  /* inGetDriverId */
#define FLEET_ODOMETER              0x0060  /* inGetOdometer */
#define FLEET_VEHICLE_NUMBER        0x0061  /* inGetVehicleNumber */
#define FLEET_PETROLEUM_FIELDS      0x0062  /* inGetPetroleumFields */
#define FLEET_VALIDATE_CARD         0x0063  /* inValidateFleetCard */
#define FLEET_GET_BASE_AMOUNT       0x0064  /* inGetFleetBaseAmount */
#define FLEET_GET_PIN               0x0065  /* inGetFleetPIN */
#define HH_PROMPT_TABLE             0x0066  /* inHHPromptToTable */
#define HH_CUSTOMER_LANGUAGE        0x0067  /* inHHCustomerLanguage */
#define HH_CONFIRM_AMOUNT           0x0068  /* inHHConfirmAmount */
#define HH_TIP_MENU                 0x0069  /* inHHTipMenu */
#define HH_PRINT_RECEIPT            0x006A  /* inHHFlowPrintReceipt */
#define HH_GET_CARD_FIELDS          0x006B  /* inHHEnterCardData */
#define HH_RESET_LANGUAGE           0x006C  /* inHHResetLanguage */
#define HH_GET_DEFAULT_CURRENCY     0x006D  /* inHHGetDefaultCurrency */
#define HH_CUSTOMER_SWIPE           0x006E  /* inHHCustomerSwipeFlow */
#define HH_MERCHANT_SWIPE           0x006F  /* inHHMerchantSwipeFlow */
#define HH_SET_SWIPE_ONLY           0x0070  /* inHHSetSwipeOnly */
#define HH_GET_CUST_NUMBER          0x0071  /* inHHGetCustNumber          */
#define HH_GET_CASH_BACK            0x0072  /* inHHGetCashBack            */
#define HH_GET_PIN_ACC_MAC          0x0073  /* inHHGetPinAccMac           */
#define HH_RETURN_TERMINAL          0x0074  /* inHHReturnTerminal         */
#define HH_GET_BASE_AMOUNT          0x0075  /* inHHGetBaseAmount          */
#define HH_GET_TAX                  0x0076  /* inHHGetTax                 */
#define HH_EBT_CB_GET_CASH_BACK     0x0077  /* inHHEBTCBGetCashBack       */
#define AXPIP_CONFIRM_SAME_CARD     0x0078  /* inAXPIPSameCardConfirm        */
#define AXPIP_CREATE_VOID_ADVICE    0x0079  /* inCreateVoidAdvice        */
#define SET_SC_BD_COND              0x007A  /* inSetStateCodeBirthdayCond */
#define SET_CHKNUM_AC_COND          0x007B  /* inSetChkNumChkAcCond */
#define RESET_FUNC_COND             0x007C  /* inResetFuncCond */
#define TRANSACTION_DETAIL          0x007D  // inTransactionDetail
#define START_TRANS_TIMER           0x007E  // inStartTransTimer
#define EMV_BATCH_FLOW              0x007F  // inEMVPrepareBatchFlow
#define EMV_CARD_VERIF_ENVELOPE     0x0080  // inEMVCardholderVerificationEnvelope
#define EMV_RESET_PCT               0x0081  // inEMVResetPCT
#ifdef VXEMVAPP
	#define EMV_GET_USER_PIN				0x0082		
#endif

/* Operation Flow Items                      Functions                              */

#define NOT_AVAILABLE				0x1001	// inNotAvailableOperation
#define GET_HOST_NUM                0x1002  /* inGetHostNum                         */
#define SELECT_AND_LOAD_HOST        0x1003  /* inSelectAndLoadHost                  */
#define GET_INVOICE_NUMBER          0x1004  /* inGetInvoiceNumber                   */
#define GET_SETT_ALL                0x1005  /* inGetSettAll                         */
#define GET_BATCH_NUM               0x1006  /* inGetBatchNumber                     */
#define GET_SETT_DATE               0x1007  /* inGetSettDate                        */
#define GET_INV_OR_ACCT_NUM         0x1008  /* inRetrieveInvOrAcct                  */
#define CHK_SETTLE_FLAG             0x1009  /* inCheckSettleFlag                    */
#define GET_CKHOST_NUM              0x100b  /* inGetCkHostNum                       */
#define OPEN_DC_BATCH               0x100c  /* inOpenDCBatch                        */
#define OPEN_TAB_BATCH              0x100d  /* inOpenTabBatch                       */
#define C3IN_FUNCTIONALITY			0x100e  /* inC3IN_Functionality					*/
#define GET_CURRENCY                0x100f  /* inGetCurrency                        */
#define SALE_CARD_PRESENT           0x1010  /* inSaleCardPresent                    */
#define PRINT_CLERK_TOTALS_REPORT   0x1011  /* inClerkTotalsReportOperation         */
#define PRINT_FORMFEEDS				0x1012	// inPrintFormFeedsOperation
#define PRINT_DETAIL_REPORT         0x1013  /* inDetailReportOperation              */
#define REPRINT_ANY_RECEIPT         0x1014  /* inReprintAnyReceiptOperation         */
#define REPRINT_LAST_RECEIPT        0x1015  /* inReprintLastReceiptOperation        */
#define REPRINT_SETTLEMENT          0x1016  /* inReprintSettlementReportOperation   */
#define PRINT_SUMMARY_REPORT        0x1017  /* inSummaryReportOperation             */
#define REVIEW_BATCH_REPORT         0x1018  /* inSummaryReviewOperation             */
#define PRINT_OPENTAB_REPORT        0x1019  /* inOpenTabReportOperation             */
#define PRINT_CLERK_DETAIL_REPORT   0x101A  /* inClerkDetailReportOperation         */
#define PRINT_CLERK_TABLE_REPORT    0x101B  /* inClerkTableReportOperation          */
#define PRINT_UNADJUSTED_REPORT     0x101C  /* inUnadjustedOperation                */
#define PRINT_IRS_TIP_REPORT        0x101D  /* inIRSTipReportOperation              */
#define PRINT_DISCOUNT_TIP_REPORT   0x101E  /* inDiscountTipReportOperation         */
#define PRINT_PARAMETERS_REPORT     0x101F  /* inQADebugReportOperation             */
#define BATCH_TIP_REVIEW            0x1020  /* inTipReviewOperation                 */
#define PRINT_MSNGR_REPORT          0x1021  /* inPrintMessengerReport 				*/
#define SETTLE_UNADJUST_TIPS        0x1022  /* inSettleUnadjustTips                 */
#define DISPLAY_AT_INIT             0x1023  /* inDisplayAtInit                      */
#define INIT_COMM_OBJECT            0x1024  /* inInitCOMM_OBJECT                    */
#define INIT_CONFIG_RECS            0x1025  /* inInitConfigRecs                     */
#define INIT_EXPRESS_CONFIG         0x1026  /* inInitExpressConfig                  */
#define INIT_TERMINAL_BEEP          0x1027  /* inInitTerminalBeep                   */
#define TEST_TABLES                 0x1028  /* inTestTables                         */
#define INIT_PRINT_FORM             0x1029  /* inInitPrintandForm                   */
#define COLD_INIT_CHECKREADER       0x102A  /* inColdInitCheckReader                */
#define INIT_RADIO_MODEM            0x102B  /* inColdInitRadioModem                 */
#define MEMORY_CHECK                0x102C  /* inMemoryCheck                        */
#define COLD_INIT_PINPAD            0x102D  /* inColdInitPinpad                     */
#define INIT_AUTO_SETTLE            0x102E  /* inAutoSettle                         */
#define MULTI_APP                   0x102F  /* inMultiApp                           */
#define DISPLAY_AT_IDLE             0x1030  /* inDisplayAtIdle                      */
#define HOURLY_NOTIFY               0x1031  /* inHourlyNotify                       */
#define IDLE_AUTO_SETTLE            0x1032  /* inIdleAutoSettle                     */
#define PURGE_HOST_INIT             0x1033  /* inInitPurgeHostFromBatch             */
#define BATCH_TOTALS_OP_FUNC        0x1034  /* inBatchTotalsOperation               */
#define INIT_AUTO_ANSWER            0x1035  /* inAutoAnswerInit                     */
#define BATCH_CLEAR_OPERATION       0x1036  /* inBatchClearOperation                */
#define GET_DATE_TIME               0x1037  /* inDateTimeOperation                  */
#define ABOUT_FILE_PROCESSING       0x1038  /* inAboutFileProcessing                */
#define FULL_DOWNLOAD               0x1039  /* inFullDownloadOperation              */
#define SETTLEMENT                  0x103A  /* inSettleOperation                    */
#define EDIT_CDT                    0x103B  /* inEditCDTOperation                   */
#define EDIT_CPT                    0x103C  /* inEditCPTOperation                   */
#define EDIT_DPT                    0x103D  /* inEditDPTOperation                   */
#define EDIT_FCT                    0x103E  /* inEditFCTOperation                   */
#define PROCESS_FCT                 0x103F  /* inProcessFCT                         */
#define EDIT_HDT                    0x1040  /* inEditHDTOperation                   */
#define EDIT_LDT                    0x1041  /* inEditLDTOperation                   */
#define EDIT_TCT                    0x1042  /* inEditTCTOperation                   */
#define EDIT_HOST_TABLES            0x1043  /* inEditHFTOperation                   */
#define EDIT_BDT                    0x1044  /* inEditBDTOperation                   */
#define PARTIAL_DOWNLOAD            0x1045  /* inPartDownloadOperation              */
#define EDIT_CCT                    0x1046  /* inEditCCTOperation                   */
#define EDIT_ICT                    0x1047  /* inEditICTOperation                   */
#define PARAMETERS_REPORT           0x1048  /* inQADebugReportOperation             */
#define EDIT_SCT                    0x1049  /* inEditSCTOperation                   */
#define LANGUAGE_SET                0x104A  /* inLangSetOperation                   */
#define PRINT_STATS_REPORT          0x104B  /* inStatReportOperation                */
#define LOCK_KEYBOARD               0x104C  /* inLockOperation,                     */
#define TRAINING_MODE               0x104D  /* inDemoTrainOperation                 */
#define SET_CLOSE_TAB_FLAG          0x104E  /* inSetCloseTabSameCardFlag            */
#define VERITALK_DOWNLOAD           0x104F  /* inVeritalkDownload                   */
#define EDIT_CRT                    0x1050  /* inEditCRTOperation                   */
#define ADD_CLERK                   0x1051  // inAddClerkOperation
#define DEL_CLERK                   0x1052  // inDelClerkOperation
#define MOD_CLERK                   0x1053  // inModClerkOperation
#define CLEAR_CLERK                 0x1054  // inClearClerkOperation
#define LOGIN_CLERK                 0x1055  // inLogInOperation
#define LOGOFF_CLERK                0x1056	// inLogOffOperation
#define EDIT_PMT					0x1057  /* inEditPMT							*/
#define EDIT_TABLES					0x1058  /* inEditTables							*/
#define EDIT_IST					0x1059  /* inEditIST							*/
#define EDIT_NOT_USED				0x1060  /* Not Used */
#define SHIFT_PROCESSING            0x1061	// inShiftProcessing
#define PRINT_ALL_SHIFTS_REPORT     0x1062	// inShiftAllRpts
#define UPDATE_SHIFT				0x1063	// inUpdateShiftFlow
#define PRINT_PARAM_REPORT			0x1064  /* inParameterReportOperation */
#define EDIT_MIT                    0x1065  /* inEditMITOperation                   */
#define EDIT_MHT                    0x1066  /* inEditMHTOperation                   */
#define GET_CHECK_MID               0x1067  /* inGetCheckMID                        */
#define PRINT_MERCH_REPORT          0x1068  /* inMerchTableReportOperation          */
#define SELECT_ONEALL_MID           0x1069  /* inSelectOneAllMID                    */
#define EDIT_SDL                    0x1070  /* inEditSpeedDialList                  */
#define DIAL_SDL                    0x1071  /* inGetSDNumAndDial                    */
#define VIEW_SDL                    0x1072  /* inViewSDL                            */
#define FULL_CHKRDR_DOWNLOAD        0x1073  /* inFullCkrdrDwnldOperation            */
#define PART_CHKRDR_DOWNLOAD        0x1074  /* inPartCkrdrDwnldOperation            */
#define EDIT_PCT					0x1075  /* inEditPCTOperation 					*/
#define CHECK_MULTI_CURRENCY		0x1076  /* inCheckMultiCurrency					*/
#define EDIT_IIT					0x1077  /* inEditIITOperation 					*/
#define EDIT_CNT					0x1078  /* inEditCNT							*/
#define CONFIRM_INV_AMT_OPER        0x1079  /* inConfirmInvAmt                      */
#define VOID_CHOICE                 0x107A  /* inVoidChoice             */
#define EDIT_PIT					0x107B  /* inEditPITOperation 					*/
#define INIT_EMV                    0x107C  /* inEMVInit                            */
#define INIT_EMV_DATA               0x107D  /* inEMVTransInit                       */
#define REQUEST_MAIL                0x107E  /* inRequestMail   */
#define SHOW_NEW_MAIL               0x107F  /* inShowNewMail   */
#define SHOW_NEW_HELP               0x1080  /* inShowNewHelp   */
#define	EDIT_PDT					0x1081	/* inEditPDTOperation					*/
#define PRINT_PRODUCT_REPORT		0x1082  /* inPrintProductReportOperation        */
#define EDIT_MVT					0x1083  /* inEditMVTOperation 					*/
#define EDIT_EST					0x1084  /* inEditESTOperation 					*/
#define SIGNAL_STRENGTH             0x1085  /* inSignalStrengthOperation            */
#define EDIT_MCT					0x1086  /* inEditMCTOperation 					*/
#define EDIT_AAT					0x1087  /* inEditAATOperation 					*/
#define HOST_INITIATED_DOWNLOAD     0x1088  /* inHostInitiatedDownload */
#define SETTLE_REQUEST_MAIL         0x1089  /* inSettleRequestMailFlow */

/* Form Functions */
#define PRINT_RCPT_TOP				0x2001	/* inPrintReceiptTop					*/
#define PRINT_RCPT_BOTTOM			0x2002	/* inPrintReceiptBottom					*/
#define PRINTER_CHECK				0x2003	/* inPrinterCheck						*/
#define DISPLAY_BAL_PINPAD			0x2004	/* inDebitBalanceDisplay				*/
#define PINPAD_RESET				0x2005	/* inDebitReset							*/
#define AXPP_RECEIPT_FIELDS			0x2006	/* inGetAXPIPReceiptFields				*/
#define AXSD_RECEIPT_FIELDS			0x2007	/* inGetAXSDReceiptFields				*/
#define PRINT_SETTLE_REPORT			0x2008  /* inPrintSettleReport					*/
#define REPRINT_STL_REPORT			0x2009  /* inRePrintSettlementReport			*/
#define PRINT_ERR_MSG				0x200A	/* inPrintErrorMsg						*/
#define PRINT_RCPT_MIDDLE			0x200B	/* inPrintReceiptMiddle					*/
#define SET_RCPT_TOP_COND			0x200C	/* inSetReceiptTopConditions			*/
#define SET_RCPT_BOTTOM_COND		0x200D	/* inSetReceiptBottomConditions			*/
#define SET_RCPT_MIDDLE_COND		0x200E	/* inSetReceiptMiddleConditions			*/
#define MAKE_RCPT_TOP			    0x200F	/* inMakeReceiptTop			            */
#define MAKE_RCPT_AFTER 		    0x2010	/* inMakeReceiptAfterResp		        */
#define PRINT_RCPT_HEADER			0x2011  /* inPrintReceiptHeader					*/
#define MAKE_RCPT_AMOUNT			0x2012	/* inMakeReceiptAmount					*/
#define PRINT_MSNGR_VOUCHER         0x2013  /* inPrintMessengerVoucher */

#define FLEET_RECEIPT_CONDITIONS    0x2014  /* inFleetSetReceiptMiddleConditions    */
#define FLEET_RECEIPT_BOTTOM_CONDITIONS 0x2015 /* inFleetSetReceiptBottomConditions */
#define FLEET_RECEIPT_FIELDS            0x2016 /* inFleetSetReceiptFields           */
#define FLEET_RECEIPT_BOTTOM_FIELDS     0x2017 /* inFleetSetReceiptBottomFields     */

#define AXPP_SET_RCPT_MIDDLE		0x2018	/* inAMEXSetMiddleConditions				*/

#define SETUP_PINPAD                              0x2019 /* inSetupPinPad */ /* vsk -- added custom initialisation of Pinpad */

/*Packet initialization & Communication protocol functions */
#define ISO8583_PACKET			    0x3001	  /* vdInitializeISO8583 				*/
#define ISO8583_MODIFY_BATCH_REC    0x3002	  /* inISO8583ModifyBatchRec 			*/
#define PACK_UNPACK_WITH_RETRY		0x3003	  /* inPackUnpackWithRetry				*/
#define PACK_UNPACK_FOR_SETTLE		0x3004	  /* inPackUnpackForSettlement			*/
#define CUSTOM_COMM_INIT            0x3005    /* inCustomCommInit 					*/
#define PACK_UNPACK_NO_RETRY        0x3006    /* inPackUnpackNoRetry				*/

/* Protocol Functions */
#define SUBROUTINE                  0x4001  /* inSubroutine */
#define END_SUBROUTINE              0x4002  /* inEndSubroutine */
#define END_PROTOCOL                0x4003  /* inEnd */
#define RECEIVE_PACKET              0x4004  /* inReceivePacket */
#define FRAME_PACKET                0x4005  /* inFramePacket */
#define SEND_PACKET                 0x4006  /* inSendPacket */
#define END_OF_BATCH                0x4007  /* inEndofBatch */
#define CHECK_PACKET_LRC            0x4008  /* inCheckPacketLRC */
#define MAKE_PACKET                 0x4009  /* inMakePacket */
#define SEND_CHAR                   0x400A  /* inSendAChar */
#define RECEIVE_CHAR                0x400B  /* inReceiveChar */
#define RECV_ANY_CHAR               0x400C  /* inReceiveAnyChar */
#define BRANCH_ON_CHAR              0x400D  /* inBranchOnChar */
#define RESET_COUNTER               0x400E  /* inResetCounter */
#define INC_COUNTER                 0x400F  /* inIncrementCounter */
#define TEST_COUNTER                0x4010
#define RESET_RECORD                0x4011  /* inResetRecordNumber */
#define INC_RECORD                  0x4012  /* inIncrementRecordNumber */
#define TEST_RECORD                 0x4013  /* inTestRecordNumber */
#define DISMANTLE_PACKET            0x4014  /* inDismantlePacket */
#define CLEAR_RECV_BUFF             0x4015  /* inClearRecvBuff */
#define DEFRAME_PACKET              0x4016  /* inDeFramePacket */
#define PAUSE                       0x4017  /* inPause */
#define END_OF_DOWNLOAD             0x4018  /* inEndOfDownload */
#define ANALYSE_PACKET              0x4019  /* inAnalysePacket */
#define TIMEOUTRECV_ANY_CHAR        0x401A  /* inTimeOutReceiveAnyChar */
#define ERRORSRECV_ANY_CHAR         0x401B  /* inGiveErrorReceiveAnyChar */
#define RECEIVEWITHDISC_PACKET      0x401C  /* inReceivePacketWithDisconnect */
#define SKIP_RECORD                 0x401D  /* inSkipRecord */
#define WAIT_DELAY                  0x401E  /* inWaitDelay */
#define RECV_HOTEL_LAN_PACKET       0x401F  /* inReceiveHotelLanPacket */
#define ISO_COMMUNICATE             0x4020
#define SET_ISO_FIELDS              0x4021
#define SET_RETRY                   0x4022  /* inSetRetry   */
#define RESET_RETRY                 0x4023  /* inResetRetry   */
#define SET_CONTINUE_FLAG           0x4024  /* inSetContinueFlag   */
#define END_COUNTER_RECORDS			0x4025  /* inEndCounterRecords   */
#define SET_PROTO_ERROR				0x4026  /* inEndCounterRecords   */
#define SEND_ISO8583           		0x4027  /* inSendIso8583  */
#define RECEIVE_ISO8583             0x4028  /* inReceiveIso583*/
#define MATCH_STATE					0x4029  /* inMatchState  */
#define PROCESS_REVERSAL			0x402A  /* inProcessReversal */
#define ERROR_PROTOCOL				0x402B  /* inErrorProtocol */
#define SEND_RECEIVE_ISO8583        0x402C  /* inSendReceiveIso8583*/


/* Validation Functions */

#define NO_VALIDATION               0x5000
#define RANGE_0TO2                  0x5001  /* inRange_0TO2 */
#define RANGE_0TO59                 0x5002  /* inRange_0TO59 */
#define TIME_VAL                    0x5003  /* inTimeVal */
#define BEEP_VAL                    0x5004  /* inBeepVal */
#define P350_COL_MODE_VAL           0x5005  /* inP350ColModeVal */
#define CKRDR_TYPE_VAL              0x5006  /* inCkrdrPortVal */
#define BAUD_VAL                    0x5007  /* inBaudRtVal */
#define PORTFMT_VAL                 0x5008  /* inPortFmtVal */
#define BIT_0OR1                    0x5009  /* inBitVal */
#define MKEY_VAL                    0x500A  /* inMKeyVal    */
#define LINK_VAL                    0x500B  /* inCommLinkVal */
#define RANGE_0TO3                  0x500C  /* inRange_0TO3 */
#define RANGE_0TO1                  0x500D  /* inRange_0TO1 */
#define RANGE_0TO4                  0x500E  /* inRange_0TO4 */
#define RANGE_0TOCST                0x500F  /* inRange_0TOCST */
#define RANGE_0TOLCT                0x5010  /* inRange_0TOLCT */
#define PRINT_OPTION                0x5011  /* inPrintOptionVal */
#define CARD_TYPE                   0x5012  /* inCardTypeVal */
#define PINPAD_TYPE_VAL             0x5013  /* inPinPadTypeVal */
#define AUTO_ANS_VAL                0x5014  /* inAutoAnswerVal */
#define ENTRY_MODE_VAL              0x5015  /* inCheckEntryModeVal */
#define PINPAD_BAUD_VAL             0x5016  /* inPinPadBaudVal */
#define PINPAD_FMT_VAL              0x5017  /* inPinPadFmtVal */
#define RANGE_1TO3					0x5018	/* inRange_1TO3   */
#define	BATCH_VAL					0x5019	/* inBatchNumVal  */
#define NUM_OF_RINGS_VAL            0x501a  /* inNumRingsVal  */
#define SHORT_VAL                   0x501b  /* inShortVal  */
#define LONG_VAL                    0x501c  /* inLongVal  */
#define RANGE_0TO5                  0x501d  /* inRange_0TO5 */
#define P350_LPI_VAL                0x501e  /* inP350LPIVal */
#define MAN_TYPE_VAL                0x501f  /* inMANVal */
#define RSSI_TYPE_VAL               0x5020  /* inRSSIVal */
#define AAT_VAL                     0x5021  /* inAATVal */
#define AAT_FMT_VAL                 0x5022  /* inAATFmtVal */
#define NUM_STR_VAL                 0x5023  /* inNumStrVal */
#define OPEN_TAMT_VAL               0x5024  /* inOpenTAmtVal */

/* Message file names */
#define MSG_NAME_ID                 0x7001
#define ACC_NAME_ID                 0x7002
#define SPA_NAME_ID                 0x7003
#define MDM_NAME_ID                 0x7004
#define CLK_NAME_ID                 0x7005
#define LOY_NAME_ID                 0x7006
#define CARD_NAME_ID                0x7007
#define DUL_NAME_ID                 0x7008
#define SFT_NAME_ID                 0x7009
#define BAT_NAME_ID                 0x700A
#define PMT_NAME_ID                 0x700B
#define ISO8583_NAME_ID             0x700C
#define ISO8583ENG_NAME_ID          0x700D
#define CNT_NAME_ID			        0x700E
#define EMV_NAME_ID                 0x700F  /* Message file name ID */
#define MSNGR_NAME_ID               0x7010
#define FLT_NAME_ID                 0x7011
#define MBTX_NAME_ID                0x7012

/*
 * 		OVERLOADABLE FUNCTIONS
 */

#define SET_TRANS_FIELDS					0x8001	/* inSetTransFields 					*/
#define DISPLAY_REVIEW_REC					0x8002	/* inDefaultDisplayReviewRec 			*/
#define IMPRINT_CARD_CONFIRM        		0x8003  /* inImprintCardConfirm     			*/
#define GET_CARD_FIELDS             		0x8004  /* inEnterCardData                      */
#define VALIDATE_SWIPED_CARD        		0x8005  /* inValidateSwipedCard                 */
#define VALIDATE_MANUAL_NO          		0x8006  /* inValidateManualCardNo               */
#define GET_CARD_BIN                		0x8007  /* inGetCardBin                         */
#define LOAD_GET_CDT                		0x8008  /* inLoadGetCDTIndex                    */
#define INIT_VALIDATION_STRUCT				0x8009	/* inDefaultInitValidationStruct 		*/
#define CUSTOM_ACCESS_FUNCTION				0x800a	/* inDefaultAccessFunction 				*/
#define MODIFY_BATCH_REC					0x800b	/* inDefaultModifyBatchRec 				*/
#define DEMO_FUNCTION						0x800c	/* inDefaultDemoFunction 				*/
#define UPDATE_REVERSAL						0x800d  /* inUpdateReversal					    */
#define START_CARD_TRAN						0x800e  /* inStartCardTxn					    */
#define MANUAL_ENTRY_PROCESS				0x800f  /* inManualEntryProcess				    */
#define CARD_READ_OPERATION					0x8010  /* inCardReadOperation				    */
#define DISPLAY_SWIPE_CARD_INFO				0x8011  /* inDisplaySwipeCardInfo			    */
#define DISPLAY_CARD_TITLE					0x8012  /* inDisplayCardTitle				    */
#define FPS_QUALIFIER_FUNCTION 				0x8013  /* inDefaultFPSQualifierFunction        */
#define FPS_PRT_OPTION_FUNCTION				0x8014  /* inDefaultFPSPrintOptionFunction      */
#define UPDATE_BATCH_FOR_VOID_AND_ADJUST 	0x8015 	/* inDefaultUpdateBatchForVoidAndAdjust	*/
#define SET_MODEM_OBJECT					0x8016	/* inDefaultSetModemObjectFunctions		*/
#define UPDATE_BATCH_FOR_VOID				0x8017 	/* inUpdateBatchForVoid					*/
#define UPDATE_BATCH_FOR_ADJUST				0x8018 	/* inUpdateBatchForAdjust				*/
#define IS_VOID_TRANSACTION                 0x8019	/* inDefaultIsVoidTransaction 			*/
#define UPDATE_ACCUM_VALUES					0x801a	/* inDefaultUpdateAccumValues			*/
#define UPDATE_VOID_ACCUM_VALUES			0x801b  /* inDefaultVoidUpdateAccumValues		*/
#define CHECK_EXP_DATE                      0x801c  /* inCheckExpDate                    	*/
#define MANUAL_EXP_DATE                     0x801d  /* inManualExpDate                   	*/
#define CHECK_CARD_ENTRY					0x801e  /* (No Default Function) 				*/
#define RESET_COMM_DATA_FIELDS				0x801f  /* inDefaultResetCommData				*/
#define RESET_HOST_DATA_FIELDS				0x8020  /* inDefaultResetHostData				*/
#define INIT_SPD_VALIDATION_STRUCT          0x8021  /* inDefaultInitSPDValidationStruct     */
#define HOST_EASY_ENTRY 					0x8022	/* inDefaultHostEasyEntry			    */
#define VALIDATE_ICC_CARD                   0x8023  /* inValidateICCCard                    */
#define CUSTOM_ERROR_FUNCTION               0x8024  /* (No Default Function)                */
#define GET_MENU_FILE_NAME                  0x8025  /* inDefaultGetMenusFileName            */

#define IMAM_INIT 							0x8101   
#define IMAM_INIT_UCL_COMM					0x8102   
#define IMAM_DISPLAY_SIGNAL					0x8103	
#define IMAM_IDLE_LOOP						0x8104
#define IMAM_WIRELESS_CONNECT				0x8105	
#define IMAM_SELECT_COMM						0x8106 
#define IMAM_CARD_TRX_CHECK					0x8107  
#define IMAM_SET_PARM_DOWN_CONFIG			0x8108  
#define IMAM_SET_FULL_DOWN_CONFIG			0x8109  
#define IMAM_EXIT							0x810A  
#define IMAM_EXIT_BY_CANCEL					0x810B  
#define IMAM_CUST_SCROLL						0x810C  
#define IMAM_GET_INSTALLMENTS				0x810D  
#define IMAM_GET_TICKET_ID					0x810E  
#define IMAM_SET_MASTER_KEY					0x810F

#define IMAM_CUST_GET_BASE_AMOUNT			0x8111 
#define IMAM_CUST_GET_TIP					0x8112 
#define IMAM_CUST_GET_PARTIAL_POINT_AMOUNT	0x8113
#define IMAM_SETTLE_ALL_HOST					0x8114
#define IMAM_ECHO_ALL_HOST					0x8115
#define IMAM_LOGON_ALL_HOST					0x8116
#define IMAM_ECHO_ONE_HOST					0x8117
#define IMAM_LOGON_ONE_HOST					0x8118
#define IMAM_SWIPE_CARD_VERIFY				0x8119
#define IMAM_FUNCTION						0x811A
#define IMAM_TEST_PRINT						0x811B
#define IMAM_GET_INV_NUM						0x811C
#define IMAM_GET_AUTH_CODE					0x811D
#define IMAM_SET_AND_CHECK_PRECOMP_VOID      0x811E
#define IMAM_SELECT_MENU						0x811F
#define IMAM_PREDIAL							0x8120
#define IMAM_EMV_GET_BASE_AMOUNT				0x8121
#define IMAM_EMV_TAG9F02_ADJUST				0x8122
#define IMAM_EMV_TC_UPLOAD					0x8123
#define IMAM_GET_PRIVATE_LABEL				0x8124
#define IMAM_GET_CVV2						0x8125
#define IMAM_DUMMY							0x8126

#define PMT_TRX_PURCHASE_FC					0x8127
#define PMT_TRX_TRANSFER_FC					0x8128
#define PMT_TRX_INFO_SALDO_FC				0x8129
#define PMT_TRX_MINI_STATEMENT_FC			0x812A
#define PMT_TRX_INFO_CDTCARD_FC				0x812B
#define PMT_TRX_ISI_ULANG_FC				0x812C
#define PMT_TRX_BILL_PAYMENT_FC				0x812D
#define PMT_TRX_NOBILL_PAYMENT_FC			0x812E
#define PMT_TRX_REGISTRASI_FC				0x812F
#define PMT_TRX_PIN_CHANGE_FC				0x8130
#define PMT_TRX_TIN_FC						0x8131
#define PMT_TRX_BELANJA_POIN_FC				0x8132
#define OPT_REVERSAL_FC						0x8133
#define OPT_REPRINT_LAST_FC					0x8134
#define OPT_REPRINT_ANY_FC					0x8135
#define OPT_SUMMARY_REPORT_FC				0x8136
#define OPT_DETAIL_REPORT_FC				0x8137
#define OPT_PSUM_REPORT_FC					0x8138
#define OPT_PDTL_REPORT_FC					0x8139
#define OPT_POWER_OFF_FC					0x813A
#define OPT_CLEAR_REVERSAL_FC				0x813B
#define OPT_CLEAR_BATCH_FC					0x813C
#define IMAM_EDIT_PCL						0x813D 

#define IMAM_KEEP_COMM_UP					0x813E 
#define IMAM_KEEP_COMM_UP_END				0x813F 
#define IMAM_KEEP_COMM_UP_END_IDLE			0x8140 

#define IMAM_INIT_COM_DEVICE					0x8141
#define IMAM_SALE_CONTACTLESS				0x8142
#define IMAM_SALE_CTL_THANKSWELCOME			0x8143
#define IMAM_SALE_MIFARE						0x8144
#define IMAM_SALE_SCARD						0x8145
#define IMAM_EDIT_CTL						0x8146 
#define IMAM_UPDATE_CTL_PRM					0x8147 
#define IMAM_UPDATE_CTL_MSG					0x8148
#define IMAM_UPDATE_CTL_CAPK					0x8149 
#define IMAM_EMV_SEND_REVERSAL				0x814A
#define IMAM_MIFARE_FUNCTION					0x814B
#define IMAM_SEND_INQUIRY					0x814C
#define IMAM_SEND_PIGGY_BACK					0x814D
#define IMAM_GET_TDES_PIN					0x814E
#define IMAM_SET_TRX_OFFLINE					0x814F
#define IMAM_DOWNLOAD_HOST_LOGO				0x8150

//imam
#define IMAM_SET_MASTER_KEY3D				0x8151
#define IMAM_SET_WORKING_KEY3D				0x8152
#define IMAM_SET_MASTER_KEY3D2				0x8153
#define KRTK_SET_PABX_ME				0x8154
#define IMAM_RESET_TPK					0x8155
#define IMAM_NEW_TPK					0x8156
#define IMAM_MAIN_PASS					0x8157
#define IMAM_PIN_PASS					0x8158

#define	IMAM_SETT_ALL					0x8159
#define 	IMAM_SETT_LOCAL_IP			0x815A
#define 	IMAM_SETT_LOCAL_SUB			0x815B
#define 	IMAM_SETT_LOCAL_GW			0x815C
#define 	IMAM_SETT_TID					0x815D
#define 	IMAM_SETT_MID					0x815E
#define 	IMAM_SETT_DATE				0x815F
#define 	IMAM_SETT_HOST_IP				0x8160
#define 	IMAM_SETT_HOST_PORT			0x8161
#define IMAM_NEW_PIN					0x8162
#define IMAM_CHANGE_PIN					0x8163



	

// These are the Trans Object field ids for the pobTran flexi record
#define AMEX_PIP_TRANS_CODE                 0xA001  /* Used to store converted inGGCode() */
